package org.jsola.hr.dto.attendschedule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

/**
 * @author wxz
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "新增【考勤时段】的参数")
@Data
public class AttendPeriodDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "开始时段(08:00)", example = "")
    private String startPeriod;

    @ApiModelProperty(notes = "结束时段(09:00)", example = "")
    private String endPeriod;

    /** 类型;1-工作时段,0-休息时段 */
    @ApiModelProperty(notes = "类型", example = "1-工作时段,0-休息时段")
    private Integer type;

    @ApiModelProperty(notes = "排序", example = "")
    private Integer sort;

    @ApiModelProperty(notes = "是否包含休息时段（0：否，1：是）", example = "1")
    private Boolean hasRestPeriod;

}
